package com.hn.zhijian.system.rsasdk;

public class DataResolve extends Resolve{

    DataResolve() {

    }

    DataResolve(String privateKey) {
        setPrivateKey(privateKey);
    }

    DataResolve(String publicKey, String privateKey) {
        setPublicKey(publicKey);

        setPrivateKey(privateKey);
    }

    /**
     * 公钥
     */
    private String publicKey;

    /**
     * 私钥
     */
    private String privateKey;

    @Override
    public String publicKey() {
        return publicKey;
    }

    @Override
    public String privateKey() {
        return privateKey;
    }


    @Override
    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    @Override
    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }
}
